package com.example.senior_homework.repository.api

import com.example.senior_homework.entity.Senior
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.POST

interface SeniorUploadApi {

    @POST("/senior/update_senior")
    suspend fun postData(@Body senior: Senior): Response<String>

    @POST("/senior/update_seniors")
    suspend fun postDatas(@Body seniors: List<Senior>): Response<String>
}